/**
 * 
 */
package org.vsg.stock.core.domain;

import java.io.Serializable;

import javax.persistence.CascadeType;
import javax.persistence.Column;
import javax.persistence.DiscriminatorColumn;
import javax.persistence.DiscriminatorType;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Inheritance;
import javax.persistence.InheritanceType;
import javax.persistence.JoinColumn;
import javax.persistence.JoinTable;
import javax.persistence.ManyToMany;
import javax.persistence.Table;

import org.hibernate.annotations.Proxy;

/**
 * @author vison
 *
 */
@Entity
@Table(name = "STOCK_INFO")
@Inheritance(strategy=InheritanceType.SINGLE_TABLE)

@Proxy(lazy = true)
public class StockInfo implements Serializable {
	
	@Id @Column(name="STOCK_CODE")
	private String code;
	
	@Column(name="STOCK_NAME")
	private String name;
	

	private String kind;
	
	@Column(name="CAPITAL")	
	private Double capital;

	@Column(name="CAPITAL_A")	
	private Double aCapital;	
	
	

	public String getKind() {
		return kind;
	}

	public void setKind(String kind) {
		this.kind = kind;
	}

	public Double getCapital() {
		return capital;
	}

	public void setCapital(Double capital) {
		this.capital = capital;
	}

	public Double getaCapital() {
		return aCapital;
	}

	public void setaCapital(Double aCapital) {
		this.aCapital = aCapital;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	

}
